package cate.game.role.show.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBBlog;
import cate.game.role.Role;
import cate.game.role.show.avatar.AvatarVO;
import easy.java.dev.note.NoteField;


@ClientMsg(title = "修改冒险形象的 の 返回")
public class ModifyAvatarResp implements MsgOutput {


    @NoteField("冒险形象")
    public AvatarVO avatar;

    public ModifyAvatarResp() {
    }

    public ModifyAvatarResp(Role role) {
        this.avatar = role.getBase().avatar;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBBlog.MODIFY_AVATAR_RESP;
    }
}
